﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using SinsenMVC.Helpers;
using SinsenWeb.Helpers;
using SinsenWeb.Models;


namespace SinsenMVC.Views
{
    public class ViewUserControlBase : ViewUserControl
    {
        public Member Member
        {
            get { return LoginHelper.GetCurrentMember() ??
                new Member(); }
        }
    }



    public class ViewUserControlBase<T> : ViewUserControl<T> where T:class 
    {
        public Member Member
        {
            get { return LoginHelper.GetCurrentMember(); }
        }
    }
}
